package com.xdxc.model.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.SerializableSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.xdxc.model.entity.QuestionGroup;
import com.xdxc.vo.QuestionWithOptionsVo;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;
@Data
@Builder
public class PaperDto implements Serializable {
    /**
     * 主键ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 试卷名称
     */
    private String paperName;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    private String paperOrder;
    /**
     * 试卷时长（单位：分钟）
     */
    private Integer paperDuration;

    private int score;

    private List<QuestionGroup> questionGroupList;


}

